﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<MvcEngineModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
    <title>Import</title>
    <%= Html.GetCssFile(Url.GetModuleCssPath("MvcEngine.Blog.BackOffice.css")) %>
</asp:Content>

<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">

<div class="settings-block">
    <h1>
        <%= Model.Localize("ImportSettingsTitle")%></h1>
    <% using (Html.BeginForm(Url.BlogImport(), new { enctype = "multipart/form-data" }))
       { %>
    <table>
        <tr>
            <td>
                <input type="file" id="file" name="file" />
            </td>
        </tr>
        <tr>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                <%= Html.SubmitButton(Model.Localize("ImportButton"), new { @class = "submit-button"}) %>
            </td>
        </tr>
    </table>
    <%= Html.MvcEngineAntiForgeryToken(m => m.AntiForgeryToken) %>
    <% } %>
</div>

    
</asp:Content>
